<div class="row">
    <div class="col-lg-12">
        <div class="ibox ">
            <div class="ibox-title">
                <h5>目录商品信息</h5>
                <div class="ibox-tools" style="top:10px;">
                    <button type="button" v-if="viewMainCategoryProductInfo.index != 2" class="btn btn-primary btn-sm" style="margin-right:10px;"  v-on:click="_openSelectMainCategoryProductInfoModel()">
                        <i class="glyphicon glyphicon-search"></i> 选择目录商品</button>

                    <button type="button" v-if="viewMainCategoryProductInfo.index != 2" class="btn btn-primary btn-sm" v-on:click="_openAddMainCategoryProductInfoModel()">
                        <i class="glyphicon glyphicon-plus"></i> 添加目录商品</button>
                </div>
            </div>
            <div class="ibox-content">
                <div class="row">
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >目录：</label>
                            <label class="">{{viewMainCategoryProductInfo.mainCategoryId}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >商品编号：</label>
                            <label class="">{{viewMainCategoryProductInfo.productId}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >开始时间：</label>
                            <label class="">{{viewMainCategoryProductInfo.startTime}}</label>
                        </div>
</div>
</div>
<div class="row">
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >结束时间：</label>
                            <label class="">{{viewMainCategoryProductInfo.endTime}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >排序：</label>
                            <label class="">{{viewMainCategoryProductInfo.seq}}</label>
                        </div>
</div>
</div>

            </div>
        </div>
    </div>

    <vc:create path="admin/addMainCategoryProduct"
               callBackListener="viewMainCategoryProductInfo"
               callBackFunction="chooseMainCategoryProduct"
    ></vc:create>


    <vc:create path="admin/chooseMainCategoryProduct"
               emitChooseMainCategoryProduct="viewMainCategoryProductInfo"
               emitLoadData="viewMainCategoryProductInfo"
    ></vc:create>
</div>
